<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<link rel="stylesheet" href="__CSS__/index.css">
	<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
	<link rel="stylesheet" href="__CSS__/swiper.min.css">
	<link rel="stylesheet" href="__CSS__/autoplay.css">
	<script src="__JS__/swiper.min.js"></script>
</head>
<body>
<div>
	<!-- 1903010328 顶部导航栏 -->
	<div id="top">
		<img src="__IMG__/logo.svg">
		<div id="dhl">
		<ul>
			<li><a href="{:url('index/index')}" style="color:white">首页</a></li>
			<li id="ddown">
				<a href="{:url('index/view')}">问答</a>
				<ul id="mk">
				{volist name="sec" id="secRow"}
				{if $secRow.sbin==1}
					<li><a href="{:url('index/view',['sid' => $secRow.s_id])}">{$secRow.s_name}</a></li>
					{/if}
				{/volist}
				</ul>
			</li>
			<li><a href="{:url('index/contact')}">联系我们</a></li>
			<li><a href="{:url('index/me')}">上传头像</a></li>
			<li><a href="{:url('index/changepa')}">修改密码</a></li>
			<li><a href="{:url('User/login')}">登录</a></li>
			<li><a href="{:url('User/reg')}">注册</a></li>
			<li><a href="{:url('User/logout')}">退出</a></li>
		</ul>
		</div>
		<div id="search" style="align-items:center">
			<input type="text" id="ss" value="全站搜索" >
			<img src="__IMG__/ss.png">
		</div>
		<div id="dhla">
		{if(session('?uNick'))}
			<a href=""><img src="__UPLOAD__/{:session('uImg')}"></a>
			<span>欢迎你：{:session('uNick')}</span>
		{/if}
		</div>
	</div>
	<!-- 轮播图 -->
		<!-- 轮播图展示 -->
		<div class="swiper-container manage"  style="z-index: 0;margin-top:20px;">
			<div class="swiper-wrapper">
				{volist name='result' id='resultRow'}
					<div class="swiper-slide slideimg">
						<img src="__UPLOAD1__/{$resultRow.c_img}" style="width: 70%;height: 30rem;">
						<div class="swispan">
							<span class="sp1">{$resultRow.c_title}</span>
							<span class="sp2">{$resultRow.c_content}</span>
						</div>
					</div>
				{/volist}
			</div>
			<div class="swiper-pagination"></div>
			<div class="swiper-button-next"></div>
			<div class="swiper-button-prev"></div>
		</div>
		<div style="width: 100%;">
		<!-- 最新帖子展示 -->
		<div class="showsec">
			<table>
				<tr class="show1">
					<td colspan="4">
							<span style="font-size: 25px;">最新帖子</span>
							{volist name="sec" id="secRow"}
							{if $secRow.sbin==1}
							<a href="{:url('index/index',['sid' => $secRow.s_id])}"style="color: #6C757D;float: right;padding: 5px;text-decoration: none;">{$secRow.s_name} | </a>
							{/if}
							{/volist}
					</td>
				</tr>
				{volist name="mes" id="mesRow"}
				{if $mesRow.mbin==1}
				<tr>
					<td style="width: 10%;text-align: center;color: #629755;">{$i}</td>
					<td>
						<div class="showmes">
							<img src="__UPLOAD__/{$mesRow.u_img}">
							<a href="{:url('index/detail',['mid' => $mesRow.m_id])}">{$mesRow.m_title}</a>
						</div>
					</td>
					<td style="width: 15%"><span>{$mesRow.m_unick}</span></td>
					<td style="width: 15%"><span style="color: #6C757D;">{$mesRow.m_create|date="Y-m-d"}</span></td>
				</tr>
				{/if}
				{/volist}
			</table>
		</div>
		<!-- 广告展示 -->
		
		<div class="advshow">
			{volist name="adv" id="advRow"}
			<div style="display: flex;flex-direction: column;">
			<img src="__UPLOAD1__/{$advRow.a_img}" style="width: 80%;height: 200px">
			<span class="advt"><a href="">{$advRow.a_title}</a></span>
			</div>
			{/volist}
		</div>
		</div>
		
	</div>
</div>
<!-- 1903010328 底部区域 -->
<div id="foot">
	<div id="ft" style="margin-left: 19%;">
		<div id="ft1-1">
			<img src="__IMG__/gy.png">
			<h3>关于Yii</h3>
		</div>
		<ul>
			<li><a href="">Yii的简介</a></li>
			<li><a href="">Yii的动态</a></li>
			<li><a href="">Yii的特性</a></li>
			<li><a href="">Yii的性能</a></li>
			<li><a href="">Yii的许可</a></li>
		</ul>
	</div>
	<div id="ft1">
		<div id="ft1-1">
			<img src="__IMG__/wd.png">
			<h3>文档手册</h3>
		</div>
		<ul>
			<li><a href="">中文文档</a></li>
			<li><a href="">框架下载</a></li>
			<li><a href="">中文教程</a></li>
			<li><a href="">安装扩展</a></li>
			<li><a href="">优秀源码</a></li>
		</ul>
	</div>
	<div id="ft1">
		<div id="ft1-1">
			<img src="__IMG__/zy.png">
			<h3>网站资源</h3>
		</div>
		<ul>
			<li><a href="">网站问答</a></li>
			<li><a href="">网站讨论</a></li>
			<li><a href="">用户案例</a></li>
			<li><a href="">视频教程</a></li>
			<li><a href="">会员排行</a></li>
		</ul>
	</div>
	<div id="ft2">
		<div id="ft1-1">
			<img src="__IMG__/js.png">
			<h3>技术学习</h3>
		</div>
		<ul>
			<li><a href="">① 4241653</a><span style="color:red">(已满)</span><a href="">② 4829703</a><span style="color:red">(已满)</span></li>
			<li><a href="">③ 4958407</a><span style="color:green">(未满)</span><a href="">④ 5476028</a><span style="color:green">(未满)</span></li>
			<li><a href="">⑤ 5478523</a><span style="color:red">(已满)</span><a href="">⑥ 5604716</a><span style="color:red">(已满)</span></li>
			<li><a href="">⑦ 5629416</a><span style="color:red">(已满)</span><a href="">⑧ 6419794</a><span style="color:red">(已满)</span></li>
			<li><a href="">⑨ 7415106</a><span style="color:red">(已满)</span><a href="">⑩ 7594839</a><span style="color:red">(已满)</span></li>
		</ul>
	</div>
	<div id="ft3" style="line-height:0.5px">
		<div id="ft1-1" style="margin-top:17px">
			<img src="__IMG__/lx.png">
			<h3>关注我们</h3>
		</div>
		<ul>
			<li><img src="__IMG__/vb1.png">Yii 中文网</li>
			<li><a href="">http://weibo.com/yiichina</a></li>
			<li><img src="__IMG__/git.png">Yii China</li>
			<li><a href="">https://github.com/yiichina</a></li>
		</ul>
	</div>
</div>
<div id="footer">
	<span style="float:left;margin-left:15%">
		Copyright © 2009-2021 by <a href="">Yii China.</a>All Rights Reserved
	</span>
	<span  style="float:right;margin-right:15%">
		技术支持<a href="">Yii 框架 </a>2.0.35.京ICP备09104811号-3 站长统计 <a href="">友情链接</a>
	</span>
</div> 

<script>
    var swiper = new Swiper('.swiper-container', {
        pagination: '.swiper-pagination',
        nextButton: '.swiper-button-next',
        prevButton: '.swiper-button-prev',
        paginationClickable: true,
        spaceBetween: 30,
        centeredSlides: true,
        autoplay: 2500,
        autoplayDisableOnInteraction: false
	});
</script>
</body>

</html>